package com.nstar.base.util
{
	public class ColorUtils
	{
		public static var green:uint = 0xa0ffa4;
		public static var red:uint = 0xfab2b2;
		public static var yellow:uint = 0xfff7a0;
		
		public static function convertColor(color:String):Number{
			if(color.length > 1 && color.substring(0,1) == "#"){
				return Number("0x" + color.substring(1));
			}else{
				return Number(color);
			}
		}

	}
}